import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Addactor from '@/components/Addactor'
import Addmovies from '@/components/Addmovies'
import Showmovies from '@/components/Showmovies'
import ShowDetails from '@/components/ShowDetails'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/addactor',
      name: 'Addactor',
      component: Addactor
    },
    {
      path: '/addmovies',
      name: 'Addmovies',
      component: Addmovies
    },
    {
      path: '/showmovies',
      name: 'Showmovies',
      component: Showmovies
    },
    {
      path: '/showdetails',
      name: 'ShowDetails',
      component: ShowDetails
    },
  ]
})
